class ChangeArticlePaid < ActiveRecord::Migration
  def change
    create_table :topic_pay_log do |t|
      t.integer :user_id, null: false
      t.integer :topic_id, null: false
      t.integer :score, null: false
      t.timestamps null: false
    end

  end
end
